#pragma once
#include <cocos2d.h>
#include "Effect.h"
#include "EffectDefine.h"

USING_NS_CC;

class EffectFactory : public CCNode
{
public:
	EffectFactory(void);
	~EffectFactory(void);

	virtual bool init();
	CREATE_FUNC(EffectFactory);

	Effect* createEffect(int type);
	static EffectFactory* sharedEffectFactory();
private:
	static EffectFactory* _sharedInstance;

	Effect* genShieldEffect();
};

